<template>
	<view>
		<view v-if="store.userInfo&&store.userInfo.nickName">
			<view>{{store.userInfo.nickName}}</view>
			<view><image :src="store.userInfo.headImgUrl" style="width:100rpx;height:100rpx;"/></view>
		</view>
		<view v-else>
			<navigator url="../login/login">登录</navigator>
		</view>
		
	</view>
</template>
<script setup>
	import {useAuthStore} from '@/stores/useAuthStore.js'
	const store = useAuthStore();
</script>